package com.jdzy.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdzy.model.common.vos.ResultA;
import com.jdzy.model.student.dtos.AppointmentsDto;
import com.jdzy.model.student.pojos.Appointments;
import com.jdzy.model.student.vos.AppointmentVo;
import com.jdzy.model.teacher.dtos.AppointmentsTDto;

import java.util.List;

public interface AppointmentsService extends IService<Appointments> {

    ResultA<String> makeAppointment(AppointmentsDto appointmentsDto);

    ResultA<List<AppointmentVo>> getTeacherAppointments(String teacherUsername);

    ResultA<String> updateStatus(AppointmentsTDto appointmentsTDto);
}
